import request from '@/utils/request'

// 其他入库单-列表
export function queryOtherList(data) {
  return request({
    url: '/wms_v1_pc/other-in-order/list-other-in-order',
    method: 'POST',
    data
  })
}

// 其他入库单-查看
export function getOtherDetail(params) {
  return request({
    url: '/wms_v1_pc/other-in-order/get-other-in-order-detail',
    method: 'GET',
    params
  })
}


// 其他入库单-添加
export function addOtherOrder(data) {
  return request({
    url: '/wms_v1_pc/other-in-order/add-other-in-order',
    method: 'POST',
    data
  })
}

// 其他入库单-修改
export function updateOtherOrder(data) {
  return request({
    url: '/wms_v1_pc/other-in-order/update-other-in-order',
    method: 'POST',
    data
  })
}

// 其他入库单-确认
export function confirmOtherOrder(data) {
  return request({
    url: '/wms_v1_pc/other-in-order/confirm-other-in-order',
    method: 'POST',
    data
  })
}

// 其他入库单-取消
export function cancelOtherOrder(data) {
  return request({
    url: '/wms_v1_pc/other-in-order/cancel-other-in-order',
    method: 'POST',
    data
  })
}
